\documentclass[border=10pt,multi,tikz]{standalone}
\usepackage[edges]{forest}
\definecolor{folderbg}{RGB}{124,166,198}
\definecolor{folderbg3}{RGB}{24,206,148}
\definecolor{folderborder}{RGB}{110,144,169}
\newlength\Size
\setlength\Size{4pt}
\tikzset{%
  folder/.pic={%
    \filldraw [draw=folderborder, top color=folderbg!50, bottom color=folderbg,rounded corners =1pt] 
    (-0.85*\Size,0.2\Size+5pt) rectangle ++(1.5*\Size,-0.2\Size-5pt);
    \filldraw [draw=folderborder, top color=folderbg!50, bottom color=folderbg] (-1.15*\Size,-\Size) rectangle (1.6*\Size,\Size);
  },
  file/.pic={%
    \filldraw [draw=folderborder, top color=folderbg!5, bottom color=folderbg!10] (-\Size,.5*\Size+3.5pt) coordinate (a) |- (\Size,-1.3*\Size) coordinate (b) -- ++(0,1.8*\Size) coordinate (c) -- ++(-3.5pt,3.5pt) coordinate (d) -- cycle (d) |- (c) ;
  },
  file2/.pic={%
    \filldraw [draw=folderborder, top color=folderbg3!20, bottom color=folderbg3!50] (-\Size,.5*\Size+3.5pt) coordinate (a) |- (\Size,-1.3*\Size) coordinate (b) -- ++(0,1.8*\Size) coordinate (c) -- ++(-3.5pt,3.5pt) coordinate (d) -- cycle (d) |- (c) ;
  },
  none/.pic={%
  },
}
\forestset{%
  declare autowrapped toks={pic me}{},
  pic dir tree/.style={%
    for tree={%
      folder,
      font=\ttfamily,
      grow'=0,
    },
    before typesetting nodes={%
      for tree={%
        edge label+/.option={pic me},
      },
    },
  },
  pic me set/.code n args=2{%
    \forestset{%
      #1/.style={%
        inner xsep=2\Size,
        pic me={pic {#2}},
      }
    }
  },
  pic me set={directory}{folder},
  pic me set={file}{file},
  pic me set={file2}{file2},
  pic me set={none}{none},
}
\begin{document}
  
  \begin{forest}
    pic dir tree,
    where level=0{}{% folder icons by default; override using file for file icons
      directory,
    },
    [texmf-local
      [doc
        [local
          [CorpManual.pdf,file2]
          [epslatex-cn.pdf,file]
          [lnotes.pdf,file]
        ]
      ]
      [fonts
        [misc]
        [opentype]
        [truetype]
      ]
      [tex
        [latex
          [local
            [BridgeEngineering]
            [cnspecification]
            [Corp]
            [TJADbeamer]
            [TJADmanual]
          ]
        ]
        [plain]
      ]
    ]
  \end{forest}
\end{document}